/**
 * 注册
 * @param {*} username 
 * @param {*} password 
 */
const requestRegister = (username, password) => {
	return myAxios({
		method: 'post',
		url: '/api/member/add',
		data: {
			username,
			password,
		},
	})
}

/**
 * 登录
 */
const requestLogin = (username,password)=>{
    return myAxios({
        method: 'post',
        url: '/api/member/login',
        data: {
            username,
            password,
        },
    })
}

/**
 * banner
 */
const requestBanner = ()=>{
    return myAxios({
        method:'get',
        url:'/api/shop/banner'
    })
}
